var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');


var schema = new mongoose.Schema({
    comments: String,
    newId   : mongoose.Schema.ObjectId
});

schema.plugin(mongoosePaginate);

var Comments = mongoose.model('Comments',  schema);  // Model.paginate()

module.exports = Comments;